package com.usooft.metaTalent.core.platform.mapper;

import com.usooft.metaTalent.core.platform.entity.Image;
import com.usooft.metaTalent.core.platform.query.ImageQuery;
import com.usooft.metaTalent.core.platform.wrapper.ImageWrapper;
import java.lang.Long;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ImageMapper {
    int add(Image image);

    int update(Image image);

    Image get(Long id);

    List<ImageWrapper> list(ImageQuery query);

    int count(@Param("filter") ImageQuery.Filter filter);
}
